making scripts not so depending on everything being available on start