Main script created