update gitignore
better implementation of local toggle