Remove the bash calls, run as module