Use system instead of shell_exec