init env in magician and test commit