Creating a script for automatic startup