The script checks if it is main or not. Now the app won't load if you import it in an interactive session