Removing sleep command in compile