moved startup to an explicit bash script so that I can use source