Change check if file is called directly