working version with appharbor