use os.symlink instead of shell commands in fit.py