Profile script can now be called from anywhere