Fixed sublime build file, added triggers and fixed issues with authenticating