compile and start scripts. very bad.