fixed bug with upstart script generation.