Fixed script/style dependencies implementation