one script does it all