Use os.environ for environment variables.

${FLUIDITY_DIR} etc seemed to not get substituted when the commands were run.

Perhaps using os.environ to get the environment variables and build the command string is a safer alternative?