Added startOnLoad support and .gitignore