Don't use deprecated functions
Add stuff to gitignore