change shell_exec to exec in an attempt to run in background