changed wp-enqueue to wp-register for scripts