quick fix for pre start commands, needs improvement