scripts moved to bottom