Added functionality for automatic builds