re-added .gitignore, cleaned up a bit; changed permissions on scripts (for linux only).