Moving build stuff to before_deploy