Fixed issues with not returning 0 on invalid parameters
Fixed gitignore