Use options rather then hardcoded magic and copy all build resources