Added conditionals to make sure custom js/css files exist before enqueueing them.