Edit to allow script to run on lican