added message when script is run as main