Maybe moving the script to the bottom will help