Get script resource working with backend