Moved resources/ and script logic into package.