added enqueue_script method