Add replace arg tag

Add function to replace arg tag by env.
SIMULATOR_NAME is replaced by default.