Changes proc to exec