Improved speed

Sligthly speeded up by earlier checks
new gitignor