update to script enqueue method

make sure scripts can be easily enqueued