Remove test stuff again; switch script to bash