Cleaner loading script