main script is ready